package com.dean.test.csv;

import com.dean.entity.DeanExportInfo;
import com.dean.service.DataFileImpExpService;
import com.dean.service.impl.CsvImpExpServiceImpl;

import javax.xml.crypto.Data;

public class CsvImpExptest {
    public static void main(String[] args) {
        DataFileImpExpService impExpService = new CsvImpExpServiceImpl();
        DeanExportInfo exportInfo = new DeanExportInfo();
        exportInfo.setConnName("dean_oracle");
        exportInfo.setQuerySql("select * from test_csv_imp");
        exportInfo.setDelimiter("|");
        exportInfo.setFilePath("/dean/test/imp/test_csv_imp_20220717.csv");
        impExpService.exp(exportInfo);
    }
}
